package cn.iocoder.yudao.module.handguard.convert.housingresource;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.handguard.controller.admin.housingresource.vo.*;
import cn.iocoder.yudao.module.handguard.dal.dataobject.housingresource.HousingResourceDO;

/**
 * 房源信息 Convert
 *
 * @author 芋道源码
 */
@Mapper
public interface HousingResourceConvert {

    HousingResourceConvert INSTANCE = Mappers.getMapper(HousingResourceConvert.class);

    HousingResourceDO convert(HousingResourceCreateReqVO bean);

    HousingResourceDO convert(HousingResourceUpdateReqVO bean);

    HousingResourceRespVO convert(HousingResourceDO bean);

    List<HousingResourceRespVO> convertList(List<HousingResourceDO> list);

    PageResult<HousingResourceRespVO> convertPage(PageResult<HousingResourceDO> page);

    List<HousingResourceExcelVO> convertList02(List<HousingResourceDO> list);

}
